<?php

namespace App\User\Controller;

use SinglePHP\RestfulController;


class Test extends RestfulController //控制器必须继承Controller类或其子类
{
    public function Get()
    {               //默认Action
        $data = [ 1, 2, 3, 4, 5, 9 ];
        $token = $this->getToken($data);
        $data = $this->verifyToken($token);
    }
}


